package thread;
class SingletonLzay {
    private static SingletonLzay instance =null;
    public static SingletonLzay getInstance(){
        if (instance ==null) {
            instance = new SingletonLzay();
        }
        return instance;
    }
    private SingletonLzay(){

    }
}
public class Demo22 {
}
